class Pago < ActiveRecord::Base
  validates_presence_of :persona_id, :monto, :forma_id, :instructor_id
  validates_numericality_of :monto, :integer=>false
  
  validates_length_of :desc, :maximum=>100
  
  has_and_belongs_to_many :tickets
  
  belongs_to :ingreso
  belongs_to :forma
end
